package cn.com.bod.fas.clm.model.po;

import cn.com.bod.fas.common.model.po.BasePo;
import lombok.Data;

import java.io.Serializable;
import javax.persistence.*;

/**
 * @description 贷款合同与担保合同关系PO
 * @author shihf
 * @date 2019年09月25日 17时24分19秒
 * @version 1.0.0
 * @Copyright (c) scfhdt
 */
@Data
@Table(name = "cn_loan_guar_rela")
public class CnLoanGuarRelaPo extends BasePo implements Serializable {
    private static final long serialVersionUID = 1L;
	
	/** 贷款合同担保合同关系表ID **/
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name = "LOAN_GUAR_RELA_ID")
	private Integer loanGuarRelaId;
	
	/** 金融机构 **/
	@Column(name = "FIN_ORG_ID", unique = false, nullable = true, length = 10)
	private String finOrgId;
	
	/** 贷款合同编号 **/
	@Column(name = "LOAN_CON_NO", unique = false, nullable = true, length = 20)
	private String loanConNo;
	
	/** 担保合同编号 **/
	@Column(name = "GUAR_CON_NO", unique = false, nullable = true, length = 20)
	private String guarConNo;
	
	/** 合同关系状态 **/
	@Column(name = "RELA_STATUS", unique = false, nullable = true, length = 20)
	private String relaStatus;
	
}